package com.whfc.common.third.mas.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * MAS系统项目详情响应数据
 */
public class ProjectDetailResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer code;
    private String msg;
    private ProjectData data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ProjectData getData() {
        return data;
    }

    public void setData(ProjectData data) {
        this.data = data;
    }

    /**
     * 项目详细数据
     */
    public static class ProjectData implements Serializable {

        private static final long serialVersionUID = 1L;

        private Integer id; // 项目id
        private String region; // 行政区域代码
        private String regionName; // 行政区域名称
        private String name; // 项目名称
        private Integer industryId; // 行业id
        private String industryName; // 行业名称
        private String industryCode; // 行业类型编码
        private Integer longitude; // 经度
        private Integer latitude; // 纬度
        private SchematicUrl schematicUrl; // 示意图URL
        private String remark; // 项目概况
        private Integer baseMapType; // 底图类型
        private Integer layoutDrawId; // 布设图id
        private String layoutUrl; // 布设图url
        private Map<String, Object> attributes; // 属性，包含proj4Params等
        private Map<String, Object> viewParam; // 视角集合
        private Integer enableTrans; // 是否启用坐标系转换(0禁用,1:启用)
        private Map<String, Object> coordinateParams; // 自定义坐标系七参数
        private String qrcodeUrl; // 项目二维码链接
        private Integer opUid; // 操作人
        private String opTime; // 操作时间
        private Integer baseInfoId; // 基础属性id
        private Map<String, Object> baseInfoAttr; // 基础属性集合

        // Getters and Setters
        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public String getRegionName() {
            return regionName;
        }

        public void setRegionName(String regionName) {
            this.regionName = regionName;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getIndustryId() {
            return industryId;
        }

        public void setIndustryId(Integer industryId) {
            this.industryId = industryId;
        }

        public String getIndustryName() {
            return industryName;
        }

        public void setIndustryName(String industryName) {
            this.industryName = industryName;
        }

        public String getIndustryCode() {
            return industryCode;
        }

        public void setIndustryCode(String industryCode) {
            this.industryCode = industryCode;
        }

        public Integer getLongitude() {
            return longitude;
        }

        public void setLongitude(Integer longitude) {
            this.longitude = longitude;
        }

        public Integer getLatitude() {
            return latitude;
        }

        public void setLatitude(Integer latitude) {
            this.latitude = latitude;
        }

        public SchematicUrl getSchematicUrl() {
            return schematicUrl;
        }

        public void setSchematicUrl(SchematicUrl schematicUrl) {
            this.schematicUrl = schematicUrl;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public Integer getBaseMapType() {
            return baseMapType;
        }

        public void setBaseMapType(Integer baseMapType) {
            this.baseMapType = baseMapType;
        }

        public Integer getLayoutDrawId() {
            return layoutDrawId;
        }

        public void setLayoutDrawId(Integer layoutDrawId) {
            this.layoutDrawId = layoutDrawId;
        }

        public String getLayoutUrl() {
            return layoutUrl;
        }

        public void setLayoutUrl(String layoutUrl) {
            this.layoutUrl = layoutUrl;
        }

        public Map<String, Object> getAttributes() {
            return attributes;
        }

        public void setAttributes(Map<String, Object> attributes) {
            this.attributes = attributes;
        }

        public Map<String, Object> getViewParam() {
            return viewParam;
        }

        public void setViewParam(Map<String, Object> viewParam) {
            this.viewParam = viewParam;
        }

        public Integer getEnableTrans() {
            return enableTrans;
        }

        public void setEnableTrans(Integer enableTrans) {
            this.enableTrans = enableTrans;
        }

        public Map<String, Object> getCoordinateParams() {
            return coordinateParams;
        }

        public void setCoordinateParams(Map<String, Object> coordinateParams) {
            this.coordinateParams = coordinateParams;
        }

        public String getQrcodeUrl() {
            return qrcodeUrl;
        }

        public void setQrcodeUrl(String qrcodeUrl) {
            this.qrcodeUrl = qrcodeUrl;
        }

        public Integer getOpUid() {
            return opUid;
        }

        public void setOpUid(Integer opUid) {
            this.opUid = opUid;
        }

        public String getOpTime() {
            return opTime;
        }

        public void setOpTime(String opTime) {
            this.opTime = opTime;
        }

        public Integer getBaseInfoId() {
            return baseInfoId;
        }

        public void setBaseInfoId(Integer baseInfoId) {
            this.baseInfoId = baseInfoId;
        }

        public Map<String, Object> getBaseInfoAttr() {
            return baseInfoAttr;
        }

        public void setBaseInfoAttr(Map<String, Object> baseInfoAttr) {
            this.baseInfoAttr = baseInfoAttr;
        }
    }

    /**
     * 示意图URL信息
     */
    public static class SchematicUrl implements Serializable {

        private static final long serialVersionUID = 1L;

        private List<String> picUrl; // 图片URL列表

        public List<String> getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(List<String> picUrl) {
            this.picUrl = picUrl;
        }
    }
}